package com.stanley.demo.app.model

import retrofit2.Call
import retrofit2.http.GET
import retrofit2.http.Path

interface WebService {
    @GET("/users/{userId}")
    fun getUser(@Path("userId") userId:String):Call<User>
}


data class User (
    private val id:String,
    var name:String,
    var lastName:String
)